/**
* @module	NEXITY_INDIVIDU.js 
* @desc 	Rassemble les fonctions Javascripts utilisées
* sur les pages Link Individu
* 
* @author 	Logica
* @author 	Mohammed EL GUEBLI
* @Version 	5.0
* @date 	01/10/2012
* @notes 	prerequis: IE 6.0 minimum
* @notes 	prerequis: Jquery 1.7.0
*
* @revision 5.0
*          date 01/10/2012
*          author LEBRET Rémi , DORDENART Michel, OUNANIAN Claire
*          Implémentation Appel webservice Stateless
* @revision 5.1
*          date 03/10/2012
*          author EL GUEBLI Mohammed
*          Merge entre ce fichier et les evolutions effectuées dans la v4
* @revision 5.2
*          date 10/10/2012
*          author EL GUEBLI Mohammed
*          Redmine 2200: Création d'un individu à partir d'un compte
*/


if (typeof NEXITY_INDIVIDU == "undefined")
{
	var NEXITY_INDIVIDU = {
		//REGEX_PHONE1: new RegExp("[^0-9\\+\\s\\.\\(\\)-]"), // recherche lettre
		//REGEX_PHONE2: new RegExp(".\\+"), //recherche +
		//REGEX_PHONE3: new RegExp("^\\+[0-9]"), // commence par +33

		buttonEventName : '',
		Non : "Non",
		Oui : "Oui",

		Address:{
			Country: "France",
			StreetAddress1: "",
			StreetAddress2: "",
			ZipCode: "",
			City: "",
			County: "",
			ltAdresse_QAS_1: "",
			ltAdresse_QAS_2: "",
			ltAdresse_QAS_3: "",
			ltAdresse_QAS_4: "",
			ltAdresse_QAS_5: ""
		},
		AFNOR:{
			AFNOR_1: "",
			AFNOR_2: "",
			AFNOR_3: "",
			AFNOR_4: "",
			AFNOR_5: "",
			AFNOR_6: "",
			Pays: "France",
			Code_postal: "",
			Commune: "",
			Libelle_CEDEX: ""
		},
		Individu:{
			individuId: "",
			individuCopyId: "",
			MrMrs: "",
			ContactLastName: "",
			ContactFirstName: "",
			CellularPhone: "",
			HomePhone: "",
			WorkPhone: "",
			WorkFax: "",
			OptinSMS: "",
			OptinEmail: "",
			ContactEmail: "",
			bCreer_compte_automatique: "",
			msplParticularit: "",
			PrimaryAccountName: "",
			bFiche_Masque: "",
			stFiche_utilisateur_CRM: "",
			bPartenaire: "",
			MaritalStatus: "",
			dDate_de_dernire_situation_familiale: "",
			indNombredePersonne: "",
			DateofBirth: "",
			indLangue: "",
			indCategorieSocioProf: "",
			JobTitle: "",
			stLieu_de_travail: "",
			indRevenusNetAnnuel: "",
			indMtAnnRevenuFoncier: "",
			msplBanque_actuelle: "",
			nNb_parts: "",
			plTranche_Imposition: "",
			indPlageHoraireContactMail: "",
			Permission_Email: "",
			dDate_de_premier_contact: "",
			plPlage_horaire_contact_Tl: "",
			plPermission_Tl_Bureau: "",
			bStop_pub: "",
			OwnerAlias: "",
			PrimaryOwnerId: "",
			individuCommentaire: "",
			idParrain: "",
			sharedAddressId: "",
			sharedAddressCopyId: "",
			addressName: ""
		},
		Compte:{
			compteId: "",
			AccountType: "",
			sharedAddressId: "",
			addressName: ""
		}
	};
}


NEXITY_INDIVIDU.testHello = function(name){
	return "Hello " + name ; 
}